﻿@model orienta.Models.ORIDetSolicitud

@{
    ViewBag.Title = "Edit";
}

<h2>Edit</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>ORIDetSolicitud</legend>

        @Html.HiddenFor(model => model.nIdeSolicitud)

        @Html.HiddenFor(model => model.nSeqPaso)

        <div class="editor-label">
            @Html.LabelFor(model => model.nIdePara)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.nIdePara)
            @Html.ValidationMessageFor(model => model.nIdePara)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.nIdePrioridad, "ORIDetCompendio1")
        </div>
        <div class="editor-field">
            @Html.DropDownList("nIdePrioridad", String.Empty)
            @Html.ValidationMessageFor(model => model.nIdePrioridad)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.nIdeEstado, "ORIDetCompendio")
        </div>
        <div class="editor-field">
            @Html.DropDownList("nIdeEstado", String.Empty)
            @Html.ValidationMessageFor(model => model.nIdeEstado)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.nIdeTipoDoc, "ORIDetCompendio2")
        </div>
        <div class="editor-field">
            @Html.DropDownList("nIdeTipoDoc", String.Empty)
            @Html.ValidationMessageFor(model => model.nIdeTipoDoc)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.vNumDocum)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.vNumDocum)
            @Html.ValidationMessageFor(model => model.vNumDocum)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.dFecDocum)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.dFecDocum)
            @Html.ValidationMessageFor(model => model.dFecDocum)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.nPlazo)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.nPlazo)
            @Html.ValidationMessageFor(model => model.nPlazo)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.nIdePeriodo, "ORIDetCompendio3")
        </div>
        <div class="editor-field">
            @Html.DropDownList("nIdePeriodo", String.Empty)
            @Html.ValidationMessageFor(model => model.nIdePeriodo)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.nFolios)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.nFolios)
            @Html.ValidationMessageFor(model => model.nFolios)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.nConfi)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.nConfi)
            @Html.ValidationMessageFor(model => model.nConfi)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.nIdUsuReg, "ORIMaeUsuario")
        </div>
        <div class="editor-field">
            @Html.DropDownList("nIdUsuReg", String.Empty)
            @Html.ValidationMessageFor(model => model.nIdUsuReg)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.dtFecReg)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.dtFecReg)
            @Html.ValidationMessageFor(model => model.dtFecReg)
        </div>

        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>
